* The #GdkDevice object represents a single input device, such
* as a keyboard, a mouse, a touchpad, etc.
*
- * See the #GdkSeat documentation for more information
- * about the various kinds of logical and physical devices, and their
- * relationships.
+ * See the #GdkSeat documentation for more information about the
+ * various kinds of devices, and their relationships.
*/
/**
* gdk_device_get_name:
* @device: a #GdkDevice
*
- * Determines the name of the device.
+ * Determines the name of the device, suitable
+ * for showing in a user interface.
*
* Returns: a name
**/
* @device: a #GdkDevice
*
* Determines whether the pointer follows device motion.
- * This is not meaningful for keyboard devices, which don't have a pointer.
+ * This is not meaningful for keyboard devices, which
+ * don't have a pointer.
*
* Returns: %TRUE if the pointer follows device motion
**/
device->associated = g_object_ref (associated);
}
-/**
+/*
* gdk_device_list_physical_devices:
* @device: a logical #GdkDevice
*
device->physical_devices = g_list_delete_link (device->physical_devices, elem);
}
-/**
+/*
* gdk_device_get_n_axes:
* @device: a pointer #GdkDevice
*
return device->axes->len;
}
-/**
+/*
* gdk_device_get_axis: (skip)
* @device: a #GdkDevice
* @axes: (array): pointer to an array of axes
*
* Returns the #GdkSeat the device belongs to.
*
- * Returns: (transfer none): A #GdkSeat. This memory is owned by GTK+ and
- * must not be freed.
+ * Returns: (transfer none): a #GdkSeat
**/
GdkSeat *
gdk_device_get_seat (GdkDevice *device)
return seat_class->get_capabilities (seat);
}
-/**
+/*
* gdk_seat_grab:
* @seat: a #GdkSeat
* @surface: the #GdkSurface which will own the grab
event, prepare_func, prepare_func_data);
}
-/**
+/*
* gdk_seat_ungrab:
* @seat: a #GdkSeat
*
*
* Returns: (transfer container) (element-type GdkDevice): A list of #GdkDevices.
* The list must be freed with g_list_free(), the elements are owned
- * by GDK and must not be freed.
+ * by GTK and must not be freed.
**/
GList *
gdk_seat_get_devices (GdkSeat *seat,
* gdk_seat_get_pointer:
* @seat: a #GdkSeat
*
- * Returns the logical device that routes pointer events.
+ * Returns the device that routes pointer events.
*
- * Returns: (transfer none) (nullable): a logical #GdkDevice with pointer
+ * Returns: (transfer none) (nullable): a #GdkDevice with pointer
* capabilities. This object is owned by GTK and must not be freed.
**/
GdkDevice *
* gdk_seat_get_keyboard:
* @seat: a #GdkSeat
*
- * Returns the logical device that routes keyboard events.
+ * Returns the device that routes keyboard events.
*
- * Returns: (transfer none) (nullable): a logical #GdkDevice with keyboard
+ * Returns: (transfer none) (nullable): a #GdkDevice with keyboard
* capabilities. This object is owned by GTK and must not be freed.
**/
GdkDevice *
* Returns all #GdkDeviceTools that are known to the
* application.
*
- * Returns: (transfer container) (element-type Gdk.DeviceTool): A list of tools. Free with
- * g_list_free().
+ * Returns: (transfer container) (element-type Gdk.DeviceTool):
+ * A list of tools. Free with g_list_free().
**/
GList *
gdk_seat_get_tools (GdkSeat *seat)